<template>
	<h3>ComponentA 8000</h3>
	<p>{{message}}</p>
	<button @click="updateHandle">更新数据</button>
</template>
<script>
export default {
	data() {
		return {
			message:"老数据"
		}
	},
	methods: {
		beforeUnmount() {
			console.log("组件卸载之前");
		},
		unmounted() {
			console.log("组件卸载之后");
		},
		updateHandle() {
			this.message = "新数据";
		}
	}
}
</script>